package com.twu.biblioteca;

public class BookDetail extends Book{
    private boolean checkedOut;
    private String checkedOutBy;

    BookDetail(String name, String author, String yearPublished){
        super(name, author, yearPublished);
        checkedOut = false;
    }

    public boolean getCheckedOut() {
        return checkedOut;
    }

    public void setCheckedOut(boolean checkedOut) {

        this.checkedOut = checkedOut;
    }

    public void setCheckedOutBy(String id) {
        checkedOutBy = id;
    }
}
